INCLUDE = -I../include
LIBRARY = -L../ -leventpp -levent
FLAGS	= -g -O0

ECHO_SERVER = echo_server
ECHO_CLIENT = echo_client

all: $(ECHO_SERVER) $(ECHO_CLIENT)

$(ECHO_SERVER): echo_server.cpp
	$(CXX) $(FLAGS) $(INCLUDE) -o $@ $< $(LIBRARY)

$(ECHO_CLIENT): echo_client.cpp
	$(CXX) $(FLAGS) $(INCLUDE) -o $@ $< $(LIBRARY)

clean:
	rm $(ECHO_SERVER) $(ECHO_CLIENT)
